function ActivarMenu(){
		if($(".li").css("visibility")=="visible"){
		$(".li").css("visibility","hidden");	
		}else{
		$(".li").css("visibility","visible");	
		}
}
$(document).ready(function() {
	
	$('.slideshow').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeoutFn: calculateTimeout 		
	});
	
	
	
	  $('.slideshowBar').cycle({
			 fx:      'turnDown', 
	    delay:   -4000 
		  });
	  
	  $('.slideshowPie').cycle({
		  fx:    'fade', 
		    sync:  false, 
		    delay: -2000 
		  });
	
});

function calculateTimeout(currElement, nextElement, opts, isForward) { 
    // here we set even number slides to have a 2 second timeout; 
    // by returning false for odd number slides we let those slides 
    // inherit the default timeout value (4 sec) 
    var index = opts.currSlide; 
    return index % 2 ? 2000 : false; 
}